<template class="container">
    <button>按钮</button>
</template>

<style>
.container {
    width: 100%;
    height: 100%;
}
</style>